package com.xy.xymall.member.error;

public enum MemberExceptionCodeEnum {
    PHONE_EXISTED(403,"手机号已存在"),
    USERNAME_EXISTED(403,"用户名已存在");
    private Integer code;
    private String message;
    MemberExceptionCodeEnum(Integer code,String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
